package com.yyq.statistics.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author yyq
 * @create 2021-05-08 16:48
 */
@Component
@FeignClient("service-ucenter")
public interface UserClient {
    //获取某天的注册人数
    @GetMapping("/eduucenter/ucenter-member/getRegisterNum/{day}")
    public int getRegisterNum(@PathVariable("day") String day);
}
